import { createAction, props } from "@ngrx/store";

// 添加任务
export const addTodo = createAction("addTodo", props<{ title: string }>());
// 删除任务
export const delTodo = createAction("delTodo", props<{ id: string }>());
